package com.qyhl.module_practice.study.detail;

import com.qyhl.webtv.commonlib.entity.news.NewsBean;

import java.util.List;

public interface PracticeNewStudyContract {
    interface PracticeNewStudyView {
        void setIdResult(String sectionId);

        void setData(List<NewsBean> beanList, boolean isMore);

        void setError(String msg, boolean isMore);
    }

    interface PracticeNewStudyPresenter {
        void getSectionId(String id);

        void setIdResult(String sectionId);

        void getData(String sectionId, String newsId);

        void setData(List<NewsBean> beanList, boolean isMore);

        void setError(String msg, boolean isMore);
    }

    interface PracticeNewStudyModel {
        void getSectionId(String id);

        void getData(String sectionId, String newsId);
    }
}
